package com.smedi.ismedi.inmail.api.dto.request.appPush;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "通知消息")
public class NotificationMessageRequest {
    @ApiModelProperty(value = "通知标题", required = true)
    @NotNull(message = "通知标题！")
    String notificationTitle;
    @ApiModelProperty(value = "通知内容", required = true)
    @NotNull(message = "通知内容！")
    String notificationBody;
    @ApiModelProperty(value = "通知渠道模板")
    String channelTemplate;
    @ApiModelProperty(value = "后续动作")
    String clickType;
    @ApiModelProperty(value = "后续动作链接")
    String actionUrl;
    @ApiModelProperty(value = "接收人员clientIds", required = true)
    @NotNull(message = "接收人员clientIds！")
    List<String> clientIds;
}
